import org.gradle.kotlin.dsl.extra
import org.gradle.kotlin.dsl.invoke

object Libs {
    const val pagehelperSpringBootStarter = "com.github.pagehelper:pagehelper-spring-boot-starter:1.3.1"
    const val commonsLang3 = "org.apache.commons:commons-lang3:3.9"
    const val mybatisSpringBootStarter = "org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.4"
    const val springBootStarterSecurity = "org.springframework.boot:spring-boot-starter-security:2.1.4.RELEASE"
    const val springJdbc = "org.springframework:spring-jdbc"
    const val fastjson = "com.alibaba:fastjson:1.2.76"
    const val userAgent = "eu.bitwalker:UserAgentUtils:1.21"
    const val jjwt = "io.jsonwebtoken:jjwt:0.9.1"
    const val springBootStarterDataRedis = "org.springframework.boot:spring-boot-starter-data-redis:2.1.4.RELEASE"
    const val jacksonDatabind = "com.fasterxml.jackson.core:jackson-databind:2.10.5.1"
    const val validationApi = "javax.validation:validation-api:2.0.1.Final"
    const val sprintBoot = "org.springframework.boot:spring-boot"
    const val servletApi = "javax.servlet:javax.servlet-api:4.0.1"
    const val commonIo = "commons-io:commons-io:2.11.0"
    const val springTx = "org.springframework:spring-tx:5.1.6.RELEASE"
    const val springContextSupport = "org.springframework:spring-context-support:5.1.6.RELEASE"
    const val springSecurityCore = "org.springframework.security:spring-security-core:5.1.5.RELEASE"
    const val springWeb = "org.springframework:spring-web:5.1.6.RELEASE"
    const val kaptcha = "com.github.penggle:kaptcha:2.3.2"
    const val querydsl_core = "com.querydsl:querydsl-core:${Versions.queryDslVersion}"
    const val querydsl_jpa = "com.querydsl:querydsl-jpa:${Versions.queryDslVersion}"
    const val querydsl_apt = "com.querydsl:querydsl-apt:${Versions.queryDslVersion}:jpa"
    const val spring_boot_jpa = "org.springframework.boot:spring-boot-starter-data-jpa:2.1.4.RELEASE"
}

object Versions {
    const val kotlin_version = "1.5.21"
    const val queryDslVersion = "4.4.0"
}
